package com.corona.game;

import com.corona.Game;

/* compiled from: Battle.java */
/* loaded from: pokewilds.jar:com/pkmngen/game/BattleIntroMusic.class */
class BattleIntroMusic extends Action {
    public Action.Layer layer = Action.Layer.gui_139;

    public BattleIntroMusic(Action nextAction) {
        super(new Object[0]);
        this.nextAction = nextAction;
    }

    @Override // com.corona.game.Action
    public String getCamera() {
        return "gui";
    }

    @Override // com.corona.game.Action
    public Action.Layer getLayer() {
        return this.layer;
    }

    @Override // com.corona.game.Action
    public void step(Game game) {
        game.currMusic.pause();
        game.currMusic = game.battle.music;
        game.currMusic.play();
        game.insertAction(this.nextAction);
        game.actionStack.remove(this);
    }
}
